<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<script type="text/javascript">
$("document").ready(function(){
	
	var params ={ID:'${ID}',MODULE_NO:'${MODULE_NO}',FIELD:'${FIELD}'};

	$("#upload").uploadify({   
		
		script: basepath+"/${param.namespace}/excelIn",
       
		fileDataName : 'file', 
		
		scriptData:params,
		
		queueID: 'fileQueue',
		
		fileExt:"${param.fileExt}",
		
		fileDesc:"${param.fileDesc}",
       
		onComplete:function(event, ID, fileObj, response, data){
		   
		   app.popWins["popWin"].close();
		   
		   app.module.reloadList();
		   
		}
	}); 
	
});
</script>
<div style="height:200px;margin:10px;">
	<h3 style="font-size:14px; font-weight:bold; color:#333;">请选择要导入的Excel文件；<br>导入模板请到【帮助】模块下载</h3>
	<div id="fileUpload" style="width:300px;height:80px;">
		<div id="fileQueue" style="width:275px;height:50px;"></div> 
		<div style="text-align:right;padding-right:10px;">
			<input id="upload" name=file type="file" />
		</div>
	</div>
</div>